package com.hyq.service;


import com.hyq.model.SUser;

import java.util.List;

public interface StudentService {
	
	public boolean validateName(String name);
	
	public int sRegister(SUser su);
	
	public SUser sLogin(SUser su);
	
	public int cOldPassword(String password, int sid);

	public int updatePassword(String password, int sid);

	public int updateSname(String sname, int sid);
	
	public  int supdate(SUser su);
	
	public SUser  ssearchById(int sid);
	
	public List<SUser> sSearch(String keyword);
	
	public int sBatchDelete(String arr[]);
	
	public List<SUser> sUpdate(int sid);

}
